#include <stdio.h>
#define M 16
#define N 16

int full_broad(char chess[M][N], int L);
int updown_win(char chess[M][N], int x, int y);
int leftright_win(char chess[M][N], int x, int y);
int xie1_win(char chess[M][N], int x, int y);
int xie2_win(char chess[M][N], int x, int y);
int judgement(char judge[M][N], int x, int y);